﻿using UnityEngine;
using System.Collections;

public class EnemySpawn : MonoBehaviour {

    public GameObject monsterPrefab;

    public GameObject EnemyPrefab()
    {
        return GameObject.Instantiate(monsterPrefab, transform.position, transform.rotation)as GameObject;
    }
}
